.class Lcom/opongo/blogapp/activities/AppPreferenceActivity$8;
.super Ljava/lang/Object;
.source "AppPreferenceActivity.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opongo/blogapp/activities/AppPreferenceActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/opongo/blogapp/activities/AppPreferenceActivity;


# direct methods
.method constructor <init>(Lcom/opongo/blogapp/activities/AppPreferenceActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/opongo/blogapp/activities/AppPreferenceActivity$8;->this$0:Lcom/opongo/blogapp/activities/AppPreferenceActivity;

    .line 276
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 4
    .parameter "preference"

    .prologue
    const/4 v3, 0x1

    .line 279
    iget-object v2, p0, Lcom/opongo/blogapp/activities/AppPreferenceActivity$8;->this$0:Lcom/opongo/blogapp/activities/AppPreferenceActivity;

    invoke-virtual {v2}, Lcom/opongo/blogapp/activities/AppPreferenceActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    .line 280
    .local v0, context:Landroid/content/Context;
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/opongo/blogapp/activities/CategoryListActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 281
    .local v1, intent:Landroid/content/Intent;
    const-string v2, "SHOWPUSH"

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 282
    iget-object v2, p0, Lcom/opongo/blogapp/activities/AppPreferenceActivity$8;->this$0:Lcom/opongo/blogapp/activities/AppPreferenceActivity;

    invoke-virtual {v2, v1}, Lcom/opongo/blogapp/activities/AppPreferenceActivity;->startActivity(Landroid/content/Intent;)V

    .line 284
    return v3
.end method
